package com.jlf.core.annotation;

import java.lang.annotation.*;

/**
 * 自动注入的持久化bean
 * {@code
 * @AutoPersistence(domain = Xxx.class)
 * public interface XxxPersistence{
 * }
 * }
 *
 * @author wujr
 * 2023/7/5
 * @version 1.0
 * 【变更历史】
 * [wujr 2023/7/5 1.0 新增]
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface AutoPersistence {
    Class<?> domain();
}
